package com.cxm.homework8.jdbcTmp.update;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestDel {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("com/cxm/homework8/jdbcTmp/update/spring-config.xml");
        UserDao userDao = ac.getBean(UserDao.class);
        boolean del = userDao.del(3);
        System.out.println(del);
    }
}
